<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>格格恋欢迎您的加入</title>
    <link href="<?php echo base_url();?>css/index.css" type=text/css rel=stylesheet>
    <link href="<?php echo base_url();?>css/common/registration.css" type=text/css rel=stylesheet>
</head>
<body>

<div class="header">
    <div class="nav1">
        <div  id="login">
            您好！欢迎来到格格恋！&nbsp;&nbsp;<a href="<?php echo front_url('login/login');?>">请登录</a>&nbsp;&nbsp;<a href="<?php echo front_url('login/register');?>">免费注册 </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LOGO
        </div>
        <div id="login1">
           <a href="<?php echo base_url();?>"> 格格恋首页</a>&nbsp;&nbsp;&nbsp;&nbsp;  收藏公主恋 &nbsp;|&nbsp;新浪微博登录&nbsp;|&nbsp;QQ登录
        </div>
    </div>
</div>

<div class="clr"></div>
<div class="nav1">
    <div id="explain">LOGO.<b>注册信息</b></div>
    <div class="clr"></div>
    <div id="flow"><img src="<?php echo base_url();?>images/publick/registration.gif"></div>
<form action="<?php echo base_url();?>login/register" method="post" id="reg_form"/>
    <div id="Registbox">
        <div id="LRegistbox">
            <span>用 户 名：<input type="text" name="name" value="<?php echo set_value('name');?>">*</span>
            <span style="color:#b94a48;"><?php echo form_error('name'); ?></span>
            <div class="clr"></div>
            <span>E-MAIL： <input type="text" name="email" value="<?php echo set_value('email');?>">*</span>
            <span style="color:#b94a48;"><?php echo form_error('email'); ?></span>
            <div class="clr"></div>
            <span>手机号码：<input type="text" name="phone" value="<?php echo set_value('phone');?>"></span>
            <span style="color:#b94a48;"><?php echo form_error('phone'); ?></span>
            <div class="clr"></div>
            <span>登陆密码：<input type="password" name="password" value="<?php echo set_value('password');?>">*</span>
            <span style="color:#b94a48;"><?php echo form_error('password'); ?></span>
            <div class="clr"></div>
            <div id="check"><span class="span1">弱</span><span class="span2">中</span><span class="span3">强</span></div>
            <div class="clr"></div>
            <span>确认密码：<input type="password" name="cpassword" value="<?php echo set_value('cpassword');?>">*</span>
            <span style="color:#b94a48;"><?php echo form_error('cpassword'); ?></span>
            <div class="clr"></div>
            <span>验 证 码：<input class="input1" type="text" name="gd_pic">
                <a href="javascript:window.location.reload();" title="点击切换验证码"> <img src="<?php echo base_url('admin/login/show');?>" alt="点击切换验证码"/></a>
                <span style="color:#b94a48;"><?php if(!empty($error)) echo $error;?></span>
               <!-- <input class="input2" type="text"></span>-->
            <span id="landing"><a href="javascript:formsubmit();;"><b>同意协议并注册</a></b></span>

            <div class="clr"></div>
            <span id="protocol"><a href="">《同意服务协议》</a></span>
        </div>
        <input type="hidden" name="reg_img" value="reg_img"/>
        <div id="RRegistbox">
            <span id="mobile"><img src="<?php echo base_url();?>images/publick/mobile.gif"></span>
            <div class="clr"></div>
            <span id="mobile1">中国大陆手机用户，编辑短信<font size="+1" color="#FF0000"><b>“TB”</b></font>发送到：</span>
            <div class="clr"></div>
            <span id="mobile2"><b>1069099988</b></span>
        </div>
    </div>
</form>
</div>
<script type="text/javascript">
    function formsubmit(){
        var myform = document.getElementById("reg_form");
        myform.submit();
    }
</script>
</body>
</html>
